using MetroIoc;

namespace metroioc.tests.Artefacts
{
    class AttributedTestClass : OverloadedTestClass
    {
        public AttributedTestClass()
        {
            CorrectConstructorWasUsed = false;
        }

        [PreferredConstructor]
        public AttributedTestClass(IFirst first)
            : base(first)
        {
            CorrectConstructorWasUsed = true;
        }

        public AttributedTestClass(IFirst first, ISecond second) 
            : base(first, second)
        {
            CorrectConstructorWasUsed = false;
        }

        public AttributedTestClass(IFirst first, ISecond second, IThird third) 
            : base(first, second, third)
        {
            CorrectConstructorWasUsed = false;
        }

        public bool CorrectConstructorWasUsed { get; private set; }
    }
}